package com.nidu.demo.menu.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@Schema(description = "菜单树客户端对象")
@EqualsAndHashCode(callSuper = true)
public class MenuTreeCO extends MenuCO{

    /**
     * 子菜单
     */
    @Schema(description = "子菜单", example = "[{'name':'子菜单1'},{'name':'子菜单2'}]")
    private List<MenuTreeCO> children;

}
